<?php

namespace apiend\modules\system\controllers;

use Yii;
use apiend\components\Controller;

/**
 * 后台菜单管理
 * 
 * @author emhome <emhome@163.com>
 * @since 1.0
 */
class MenuController extends Controller {

    /**
     * 菜单列表
     * @inheritdoc
     */
    public function actionIndex() {
        $model = new $this->modelClass;
        $model->load(Yii::$app->request->getQueryParams(), '');
        return $model->search();
    }

}
